Spread Silverlight Documentation
Evaluate(Object[]) Method


The args contains 2 - 255 items: index_num, value1, [value2], ..

Index_num specifies which value argument is selected.

Value1,value2,... are 1 to 254 value arguments from which CHOOSE selects a value or an action to perform based on index_num. The arguments can be numbers, cell references, defined names, formulas, functions, or text.

Uses index_num to return a value from the list of value arguments.
Syntax
'Declaration
 
Public Overloads Overrides Function Evaluate( _
   ByVal args() As System.Object _
) As System.Object
'Usage
 
Dim instance As CalcChooseFunction
Dim args() As System.Object
Dim value As System.Object
 
value = instance.Evaluate(args)
public override System.object Evaluate( 
   System.object[] args
)

Parameters

args

The args contains 2 - 255 items: index_num, value1, [value2], ..

Index_num specifies which value argument is selected.

Value1,value2,... are 1 to 254 value arguments from which CHOOSE selects a value or an action to perform based on index_num. The arguments can be numbers, cell references, defined names, formulas, functions, or text.

Return Value

A System.Object value that indicates the evaluate result.
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

CalcChooseFunction Class
CalcChooseFunction Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.